package com.itheima;

public class run_ {
    public static void main(String[] args) {
        MyRunnable r = new MyRunnable();
        new Thread(r).start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 0; i < 100; i++) {
                    System.out.println(Thread.currentThread().getName() + "敲木鱼" + i);
                }
            }
        }).start();
        MyThread t1 = new MyThread();
        t1.start();
    }
}
